package cn.tedu._07vehicle.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NonNull;

import java.util.Date;
@Data
public class UserRegParam {
    @Pattern(regexp="",message="提示消息")
    @Schema(description = "用户名",required = true)
    private String username;
    @Schema(description = "密码",required = true)
    private String password;
    @Email(message = "邮箱格式错误")
    @Schema(description = "邮箱", required = true)
    private String email;
    @Schema(description = "手机号", required = true)
    private String phone;
}
